package com.jf.hotelreservation.demos.mapper;

import com.jf.hotelreservation.demos.bean.Areas;
import com.jf.hotelreservation.demos.bean.Cities;
import com.jf.hotelreservation.demos.bean.Province;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PCDMapper {

    List<Province> getProvince();

    List<Cities> getCity(@Param("pid") Integer id);

    List<Areas> getArea(@Param("cid") Integer id);

    Province getProvinceByHid(@Param("hid") Integer id);
    Cities getCityByHid(@Param("hid") Integer id);
    Areas getAreasByHid(@Param("hid") Integer id);
}
